<?
	if($model->id==0){
		$hidden['parent_id']=$this->input->get('parent_id');
		$hidden['position']=1000;
		$hidden['type']='navitree';
		
	}
?>

<div class='contentheader'>Navitree</div>
<?
$page=$model;

echo $formheader;

echo form::open(NULL, array(), $hidden);
echo form::open_fieldset();

echo '<p>';
echo form::label('title', 'Titel');
echo form::input('title',$page->title,'class="text"');
echo '</p>';


echo '<p>';
echo form::label('description', 'Beschreibung');
echo form::textarea('description', $page->description, 'class="text" ');
echo '</p>';

echo '<p>';
echo form::label('displayhook', 'Display Hook');
echo form::input('displayhook',$page->displayhook,'class="text"');
echo '</p>';

echo form::close_fieldset();

echo myform::submit();

echo form::close();
?>